package com.bjsdzk.common.excel;


import javax.persistence.Id;

/*
 * Excel导出表头项实体
 * 格式化：所有format属性为true的表头项均为格式化语句，需要程序分配值
 * 格式化规则：${property}，如“设备1（日期）”，需写成“${deviceName}（${date}）”
 * */
public class ExcelTitleItem {
    @Id
    private String id;
    //表头内容
    private String value;
    //是否为格式化文字
    private boolean format;
    //所占单元格大小
    private int size;
    //行排序
    private int titleOrder;
    //所占单元格高度
    private int high;
    //列排序
    private int infoOrder;

    //所属接口
    private String code;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public boolean isFormat() {
        return format;
    }

    public void setFormat(boolean format) {
        this.format = format;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTitleOrder() {
        return titleOrder;
    }

    public void setTitleOrder(int titleOrder) {
        this.titleOrder = titleOrder;
    }

    public int getInfoOrder() {
        return infoOrder;
    }

    public void setInfoOrder(int infoOrder) {
        this.infoOrder = infoOrder;
    }

    public int getHigh() {
        return high;
    }

    public void setHigh(int high) {
        this.high = high;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
